/* eslint-disable */
import request from '@/utils/request'
export function postAction(url,parameter) {
  return request({
    url: url,
    method: 'post',
    data: parameter
  })
}

//put
export function putAction(url,parameter) {
  return request({
    url: url,
    method:'put',
    data: parameter
})
}

//get
export function getAction(url,parameter) {
  return request({
    url: url,
    method: 'get',
    params: parameter
  })
}

//deleteAction
export function deleteAction(url,parameter) {
  return request({
    url: url,
    method: 'delete',
    params: parameter
  })
}
